<!doctype html>
<script src="../../resources/testharness.js"></script>
<script src="../../resources/testharnessreport.js"></script>
<script src="../assert_selection.js"></script>
<script>
// This test makes sure that content inside a Mail blockquote in an incoming
// fragment isn't pulled out of the blockquote during paste.
selection_test(
  '<div contenteditable>|</div>',
  'insertHTML <blockquote type="cite">bar</blockquote>',
  '<div contenteditable><blockquote type="cite">bar|</blockquote></div>',
  'insert BLOCKQUOTE');
</script>
